const viewGenerator = require('./plop-templates/view/prompt.js')
const crudTablePageGenerator = require('./plop-templates/crud-page/prompt.js')
const promptDirectory = require('inquirer-directory')

module.exports = function (plop) {
  plop.setPrompt('directory', promptDirectory)
  plop.setGenerator('view-generator', viewGenerator)
  plop.setGenerator('crud-table-page-generator', crudTablePageGenerator)
}
